// $Id$
// Licensed under Apache License Version 2.0
// See: http://www.apache.org/licenses/LICENSE-2.0.html
package de.servicezombie.pub.r1;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "subscriptions", namespace = XmlNamespaces.SERVICEZOMBIE_COMMON)
public class SubscriptionList {

	@XmlElements({ @XmlElement(type=Subscription.class)})
	private List<Subscription> subscriptions;
	
	public List<Subscription> getSubscriptions() {
		return subscriptions;
	}
	
	public void setSubscriptions(List<Subscription> subscriptions) {
		this.subscriptions = subscriptions;
	}
}
